import axios from '@/libs/request/axios'

/**
 * 查询业务选择配置信息
 * @param params
 * @returns {*}
 */
export const getBusinessConfInfo = (params) => {
    return axios.request({
        url: "/apply/businessConf/getBusinessConfInfo",
        method: "POST",
        data: params,
    })
}

/**
 * 保存业务选择配置信息
 * @param params
 * @returns {*}
 */
export const saveBusinessConfInfo = (params) => {
    return axios.request({
        url: "/apply/businessConf/saveBusinessConfInfo",
        method: "POST",
        data: params,
    })
}

/**
 * 删除业务选择配置信息
 * @param params
 * @returns {*}
 */
export const deleteBusinessConfInfo = (params) => {
    return axios.request({
        url: "/apply/businessConf/deleteBusinessConfInfo",
        method: 'DELETE',
        data: params,
    })
}

/**
 * 修改业务选择配置信息
 * @param params
 * @returns {*}
 */
export const editBusinessConfInfo = (params) => {
    return axios.request({
        url: "/apply/businessConf/deleteBusinessConf",
        method: "POST",
        data: params,
    })
}

/**
 *更新配置信息
 * @param params
 * @returns {*}
 */
export const updateBusinessConfInfo = (params) => {
    return axios.request({
        url: "/apply/businessConf/updateBusinessConfInfo",
        method: "POST",
        data: params,
    })
}
/**
 * 查询配置信息
 * @param params
 * @returns {*}
 */
export const getInfo = (params) => {
    return axios.request({
        url: "/apply/businessConf/getInfo",
        method: "POST",
        data: params,
    })
}
